/*****************************************************************************
 * This file is part of Pause Quafe.                                         *
 *                                                                           *
 * Pause Quafe - An Eve-Online(TM) character assistance application          *
 * Copyright (c) 2009  diabeteman & Kios Askoner                             *
 *                                                                           *
 * Pause Quafe is free software: you can redistribute it and/or modify       *
 * it under the terms of the GNU General Public License as published by      *
 * the Free Software Foundation, either version 3 of the License, or         *
 * (at your option) any later version.                                       *
 *                                                                           *
 * Pause Quafe is distributed in the hope that it will be useful,            *
 * but WITHOUT ANY WARRANTY; without even the implied warranty of            *
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the             *
 * GNU General Public License for more details.                              *
 *                                                                           *
 * You should have received a copy of the GNU General Public License         *
 * along with Pause Quafe.  If not, see http://www.gnu.org/licenses/.        *
 *****************************************************************************/

#include "Skill.h"
#include "misc/util/Constants.h"

Skill::Skill(uint typeID, QString typeName) :
    Item(typeID, typeName, SKILL_CATID)
{
}

// getters //
uint Skill::getRank() {
    return rank;
}
Attribute Skill::getPrimaryAttribute() {
    return primaryAttribute;
}
Attribute Skill::getSecondaryAttribute() {
    return secondaryAttribute;
}
// setters //
void Skill::setRank(uint rank) {
    this->rank = rank;
}
void Skill::setPrimaryAttribute(Attribute attribute) {
    this->primaryAttribute = attribute;
}
void Skill::setSecondaryAttribute(Attribute attribute) {
    this->secondaryAttribute = attribute;
}
